﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    public partial class DgFViewMedicalRecordEmr
    {
        public int PatientGuid { get; set; }
        public string? UserCode { get; set; }
        public string? UserName { get; set; }
        public string? PaymentMethod { get; set; }
        public string? HealthCardNo { get; set; }
        public int? AdmissionCount { get; set; }
        public string? CaseNo { get; set; }
        public string? Name { get; set; }
        public int Sex { get; set; }
        public string? Birthday { get; set; }
        public int? Age { get; set; }
        public string AgeUnit { get; set; } = null!;
        public string? Nationality { get; set; }
        public int? ThanOneYear { get; set; }
        public int? BirthWeight { get; set; }
        public int? HospitalWeight { get; set; }
        public string? Birthplace { get; set; }
        public string? NativePlace { get; set; }
        public string? Nation { get; set; }
        public string? CardNo { get; set; }
        public int? Occupation { get; set; }
        public int? Marriage { get; set; }
        public string NowAddress { get; set; } = null!;
        public string? NowPhone { get; set; }
        public string? Postcode1 { get; set; }
        public string AccountAddress { get; set; } = null!;
        public string? Postcode2 { get; set; }
        public string UnitAddress { get; set; } = null!;
        public string? WorkPhone { get; set; }
        public string? Postcode3 { get; set; }
        public string? ContactName { get; set; }
        public int? Relationship { get; set; }
        public string Address { get; set; } = null!;
        public string? Phone { get; set; }
        public int AdmissionRoute { get; set; }
        public string? AdmissionDate { get; set; }
        public int? AdmissionDateHours { get; set; }
        public int? AdmissionCategory { get; set; }
        public int? AdmissionWard { get; set; }
        public int TransferCategory { get; set; }
        public string? LeaveHospitalDate { get; set; }
        public int? LeaveHospitalDateHours { get; set; }
        public string Cykb { get; set; } = null!;
        public int? LeaveHospitalWard { get; set; }
        public int? HospitalizationDay { get; set; }
        public string? ClinicDiagnosis { get; set; }
        public string? DiseaseCode { get; set; }
        public string PoisoningCause { get; set; } = null!;
        public string H23 { get; set; } = null!;
        public string? PathologyDiagnosis { get; set; }
        public string DiseaseCode2 { get; set; } = null!;
        public string PathologyNumber { get; set; } = null!;
        public int? DrugAllergy { get; set; }
        public string AllergicDrugDiseases { get; set; } = null!;
        public string? PatientAutopsy { get; set; }
        public int BloodType { get; set; }
        public int Rh { get; set; }
        public string? SectionDirector { get; set; }
        public string? ChiefPhysician { get; set; }
        public string? AttendingDoctor { get; set; }
        public string? Resident { get; set; }
        public int? SectionDirectorCode { get; set; }
        public int? ChiefPhysicianCode { get; set; }
        public int? AttendingDoctorCode { get; set; }
        public int? ResidentCode { get; set; }
        public string? ChargeNurse { get; set; }
        public string? RefresherDoctor { get; set; }
        public string? Intern { get; set; }
        public string? Coder { get; set; }
        public string? MedicalRecordQuality { get; set; }
        public string? QualityPhysician { get; set; }
        public string? QualityNurse { get; set; }
        public string? Zkrq { get; set; }
        public string WayLeavingHospital { get; set; } = null!;
        public string MedicalInstitution { get; set; } = null!;
        public string CommunityMedicalInstitution { get; set; } = null!;
        public int ReadmissionSurgery { get; set; }
        public string Objective { get; set; } = null!;
        public int BreathingDay { get; set; }
        public int? BreathingHour { get; set; }
        public int BreathingMinute { get; set; }
        public int InvasiveBreathingDay { get; set; }
        public int InvasiveBreathingHour { get; set; }
        public int InvasiveBreathingMinute { get; set; }
        public string? AdmissionDay { get; set; }
        public int? AdmissionHour { get; set; }
        public int? AdmissionMinute { get; set; }
        public int? AfterAdmissionDay { get; set; }
        public int? AfterAdmissionHour { get; set; }
        public int? AfterAdmissionMinute { get; set; }
        public decimal? TotalCost { get; set; }
        public decimal? SelfPayMoney { get; set; }
        public decimal? MedicalService { get; set; }
        public decimal? TreatmentFee { get; set; }
        public decimal? NursingFee { get; set; }
        public decimal? OtherFee { get; set; }
        public decimal? DiagnosisFee { get; set; }
        public decimal? LaboratoryDiagnosisFee { get; set; }
        public decimal? ImagingDiagnosisFee { get; set; }
        public decimal? ClinicalDiagnosisFee { get; set; }
        public decimal? NoOperativeTreatmentFee { get; set; }
        public decimal? PhysicalTherapyFee { get; set; }
        public decimal? SurgicalTreatmentFee { get; set; }
        public decimal? AnesthesiaCost { get; set; }
        public decimal? OperationCost { get; set; }
        public decimal? RehabilitationFee { get; set; }
        public decimal? TcmTreatmentFee { get; set; }
        public decimal? WesternMedicineFee { get; set; }
        public decimal? AntibioticsFee { get; set; }
        public decimal? ChPatentMedicineFee { get; set; }
        public decimal? HerbalMedicineFee { get; set; }
        public decimal? BloodCost { get; set; }
        public decimal? CostAlbuminProducts { get; set; }
        public decimal? CostGlobulinProducts { get; set; }
        public decimal? CoagulationFactors { get; set; }
        public decimal? Cytokines { get; set; }
        public decimal? InspectionMaterialCost { get; set; }
        public decimal? TreatmentMaterialCost { get; set; }
        public decimal? CostSurgicalMaterials { get; set; }
        public decimal? OtherExpenses { get; set; }
        public string FirstClassArea { get; set; } = null!;
        public string SecondClassArea { get; set; } = null!;
        public string? MiType { get; set; }
        public int BedNumber { get; set; }
        public string CaseType { get; set; } = null!;
        public string? DischargeOutcome { get; set; }
        public string? InHospitalNo { get; set; }
        public int ReadFlag { get; set; }
        public string PersonnelCategory { get; set; } = null!;
        public int IsDrgsettle { get; set; }
        public DateTime? Cysj { get; set; }
        public string MiSettleLevel { get; set; } = null!;
        public string? MiNoold { get; set; }
        public string DeclareTime { get; set; } = null!;
        public string? MiType1 { get; set; }
        public string? SpePersonType { get; set; }
        public string NbAdmType { get; set; } = null!;
        public string IptMedType { get; set; } = null!;
        public int? AdmWayCode { get; set; }
        public string TreatType { get; set; } = null!;
        public int? ActIptDays { get; set; }
        public string DiagCount { get; set; } = null!;
        public string OptCount { get; set; } = null!;
        public string NurseCareDaysSpe { get; set; } = null!;
        public string NurseCareDaysLv1 { get; set; } = null!;
        public string NurseCareDaysLv2 { get; set; } = null!;
        public string NurseCareDaysLv3 { get; set; } = null!;
        public string UnforceCount { get; set; } = null!;
        public string ForceCount { get; set; } = null!;
        public int? Leavehospitalcategory { get; set; }
        public int? ChargeNurseCode { get; set; }
        public int? QualityDoctorCode { get; set; }
        public string? CertifierType { get; set; }
        public string? ClinicalSituation { get; set; }
        public string? RadiationSituation { get; set; }
        public int OutPatAndDis { get; set; }
        public int InPatAndDis { get; set; }
        public int SuspectedDiagnosis { get; set; }
        public string Reaction { get; set; } = null!;
        public string Plasma { get; set; } = null!;
        public string Redbloodcell { get; set; } = null!;
        public string Wholeblood { get; set; } = null!;
        public string Platelet { get; set; } = null!;
        public string Autologousblood { get; set; } = null!;
        public string Leavehospitalcategoryname { get; set; } = null!;
        public string TransferCategoryName { get; set; } = null!;
        public string AdmissionCategoryName { get; set; } = null!;
        public string? NativePlaceProvince { get; set; }
        public string? NativePlaceCity { get; set; }
        public string? BirthplaceShen { get; set; }
        public string? BirthplaceShi { get; set; }
        public string? BirthplaceQu { get; set; }
        public string? NowAddressShen { get; set; }
        public string? NowAddressShi { get; set; }
        public string? NowAddressQu { get; set; }
        public string? NowAddressTel { get; set; }
        public string? AccountAddressShen { get; set; }
        public string? AccountAddressShi { get; set; }
        public string? AccountAddressQu { get; set; }
        public string? UnitAddressShen { get; set; }
        public string? UnitAddressShi { get; set; }
        public string? UnitAddressQu { get; set; }
        public string? RelationProvince { get; set; }
        public string? RelationCity { get; set; }
        public string? RelationCountry { get; set; }
        public int? PatSource { get; set; }
        public string? ReceiveMechanismCode { get; set; }
        public int? RefresherDoctorCode { get; set; }
        public int? StudentNurseCode { get; set; }
        public int? QualityNurseCode { get; set; }
        public int? Qjcs { get; set; }
        public int? Cgcs { get; set; }
    }
}
